package com.kkb.pojo;

import java.math.BigDecimal;
import java.util.Date;

import static com.kkb.common.utils.DateUtils.datePath;

/**
 *  图表数据
 */
public class ChartData {
    /**
     * 图表横轴时间
     */
    private Date createDate;
    /**
     * 注册图表纵轴数量
     */
    private Integer count;
    /**
     * 人均消费图标纵轴
     */
    private BigDecimal consumption;

    public BigDecimal getConsumption() {
        return consumption;
    }

    public void setConsumption(BigDecimal consumption) {
        this.consumption = consumption;
    }

    public String getCreateDate() {
        return datePath(createDate);
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
